an abstract template class providing an interface for FrameLib objects and implementing connectivity
More...
#include <FrameLib_Object.h>
|
| class | Connection |
| | holds the connected object and IO indices for a connection to an object More...
|
| |
|
| | FrameLib_Object (ObjectType type, FrameLib_Context context, FrameLib_Proxy *proxy) |
| |
| virtual | ~FrameLib_Object () |
| |
| ObjectType | getType () const |
| |
| FrameLib_Context | getContext () const |
| |
| FrameLib_Proxy * | getProxy () const |
| |
| unsigned long | getNumIns () const |
| |
| unsigned long | getNumOuts () const |
| |
| unsigned long | getNumAudioIns () const |
| |
| unsigned long | getNumAudioOuts () const |
| |
| unsigned long | getNumAudioChans () const |
| |
| virtual void | setFixedInput (unsigned long idx, double *input, unsigned long size)=0 |
| |
| virtual const double * | getFixedInput (unsigned long idx, unsigned long *size)=0 |
| |
| virtual void | blockUpdate (const double *const *ins, double **outs, unsigned long blockSize)=0 |
| |
| virtual void | reset (double samplingRate, unsigned long maxBlockSize)=0 |
| |
| virtual std::string | objectInfo (bool verbose=false) |
| |
| virtual std::string | inputInfo (unsigned long idx, bool verbose=false) |
| |
| virtual std::string | outputInfo (unsigned long idx, bool verbose=false) |
| |
| virtual std::string | audioInfo (unsigned long idx, bool verbose=false) |
| |
| virtual FrameType | inputType (unsigned long idx) const =0 |
| |
| virtual FrameType | outputType (unsigned long idx) const =0 |
| |
| virtual const FrameLib_Parameters * | getParameters () const |
| |
| ConnectionResult | addConnection (Connection connection, unsigned long inIdx) |
| |
| void | deleteConnection (unsigned long inIdx) |
| |
| ConnectionResult | addOrderingConnection (Connection connection) |
| |
| void | deleteOrderingConnection (Connection connection) |
| |
| void | clearOrderingConnections () |
| |
| void | clearConnections () |
| |
| ConnectionResult | setInputAlias (Connection alias, unsigned long inIdx) |
| |
| ConnectionResult | setOrderingAlias (T *alias) |
| |
| ConnectionResult | setOutputAlias (Connection alias, unsigned long outIdx) |
| |
| bool | isConnected (unsigned long inIdx) const |
| |
| Connection | getConnection (unsigned long inIdx) const |
| |
| bool | supportsOrderingConnections () const |
| |
| unsigned long | getNumOrderingConnections () const |
| |
| Connection | getOrderingConnection (unsigned long idx) const |
| |
| virtual void | autoOrderingConnections ()=0 |
| |
| virtual void | clearAutoOrderingConnections ()=0 |
| |
| void | callConnectionUpdate () |
| |
| template<class U > |
| void | addOutputDependencies (std::vector< U *> &dependencies) |
| |
| template<class U > |
| void | addOutputDependencies (std::vector< U *> &dependencies, unsigned long outIdx) |
| |
| | FrameLib_Queueable () |
| |
|
| static const char * | formatInfo (const char *verboseStr, const char *briefStr, bool verbose) |
| |
| static std::string | formatInfo (const char *str, unsigned long idx) |
| |
| static std::string | formatInfo (const char *verboseStr, const char *briefStr, unsigned long idx, bool verbose) |
| |
| static std::string | formatInfo (const char *str, const char *replaceStr) |
| |
| static std::string | formatInfo (const char *verboseStr, const char *briefStr, const char *replaceStr, bool verbose) |
| |
| static std::string | parameterInputInfo (bool verbose) |
| |
| static std::string | numberedString (const char *str, unsigned long idx) |
| |
| template<class U > |
| static bool | addUniqueItem (std::vector< U > &list, U item) |
| |
| template<class U > |
| static bool | deleteUniqueItem (std::vector< U > &list, U item) |
| |
template<class T>
class FrameLib_Object< T >
an abstract template class providing an interface for FrameLib objects and implementing connectivity
- See also
- FrameLib_Block, FrameLib_DSP FrameLib_Multistream
◆ Queue
◆ FrameLib_Object()
◆ ~FrameLib_Object()
◆ addConnection()
◆ addOrderingConnection()
◆ addOutputDependencies() [1/4]
template<class T>
template<class U >
| void FrameLib_Object< T >::addOutputDependencies |
( |
std::vector< U *> & |
dependencies | ) |
|
|
inline |
◆ addOutputDependencies() [2/4]
template<class T>
template<class U >
| void FrameLib_Object< T >::addOutputDependencies |
( |
std::vector< U *> & |
dependencies, |
|
|
unsigned long |
outIdx |
|
) |
| |
|
inline |
◆ addOutputDependencies() [3/4]
◆ addOutputDependencies() [4/4]
◆ addUniqueItem()
template<class T>
template<class U >
| static bool FrameLib_Object< T >::addUniqueItem |
( |
std::vector< U > & |
list, |
|
|
U |
item |
|
) |
| |
|
inlinestaticprotected |
◆ alloc()
template<class T>
template<class U >
◆ audioInfo()
template<class T>
| virtual std::string FrameLib_Object< T >::audioInfo |
( |
unsigned long |
idx, |
|
|
bool |
verbose = false |
|
) |
| |
|
inlinevirtual |
◆ autoOrderingConnections()
◆ blockUpdate()
template<class T>
| virtual void FrameLib_Object< T >::blockUpdate |
( |
const double *const * |
ins, |
|
|
double ** |
outs, |
|
|
unsigned long |
blockSize |
|
) |
| |
|
pure virtual |
◆ callConnectionUpdate()
◆ clearAllocator()
◆ clearAutoOrderingConnections()
◆ clearConnections()
◆ clearOrderingConnections()
◆ dealloc()
template<class T>
template<class U >
◆ deleteConnection()
◆ deleteOrderingConnection()
◆ deleteUniqueItem()
template<class T>
template<class U >
| static bool FrameLib_Object< T >::deleteUniqueItem |
( |
std::vector< U > & |
list, |
|
|
U |
item |
|
) |
| |
|
inlinestaticprotected |
◆ enableOrderingConnections()
◆ formatInfo() [1/5]
template<class T>
| static const char* FrameLib_Object< T >::formatInfo |
( |
const char * |
verboseStr, |
|
|
const char * |
briefStr, |
|
|
bool |
verbose |
|
) |
| |
|
inlinestaticprotected |
◆ formatInfo() [2/5]
template<class T>
| static std::string FrameLib_Object< T >::formatInfo |
( |
const char * |
str, |
|
|
unsigned long |
idx |
|
) |
| |
|
inlinestaticprotected |
◆ formatInfo() [3/5]
template<class T>
| static std::string FrameLib_Object< T >::formatInfo |
( |
const char * |
verboseStr, |
|
|
const char * |
briefStr, |
|
|
unsigned long |
idx, |
|
|
bool |
verbose |
|
) |
| |
|
inlinestaticprotected |
◆ formatInfo() [4/5]
template<class T>
| static std::string FrameLib_Object< T >::formatInfo |
( |
const char * |
str, |
|
|
const char * |
replaceStr |
|
) |
| |
|
inlinestaticprotected |
◆ formatInfo() [5/5]
template<class T>
| static std::string FrameLib_Object< T >::formatInfo |
( |
const char * |
verboseStr, |
|
|
const char * |
briefStr, |
|
|
const char * |
replaceStr, |
|
|
bool |
verbose |
|
) |
| |
|
inlinestaticprotected |
◆ getConnection()
◆ getConnectionInternal()
◆ getContext()
◆ getEmptyFixedInput()
template<class T>
| const double* FrameLib_Object< T >::getEmptyFixedInput |
( |
unsigned long |
idx, |
|
|
unsigned long * |
size |
|
) |
| |
|
inlineprotected |
◆ getFixedInput()
template<class T>
| virtual const double* FrameLib_Object< T >::getFixedInput |
( |
unsigned long |
idx, |
|
|
unsigned long * |
size |
|
) |
| |
|
pure virtual |
◆ getNumAudioChans()
◆ getNumAudioIns()
◆ getNumAudioOuts()
◆ getNumIns()
◆ getNumOrderingConnections()
◆ getNumOuts()
◆ getOrderingConnection()
◆ getOrderingConnectionInternal()
◆ getParameters()
◆ getProxy()
◆ getType()
◆ handlesAudio()
◆ inputInfo()
template<class T>
| virtual std::string FrameLib_Object< T >::inputInfo |
( |
unsigned long |
idx, |
|
|
bool |
verbose = false |
|
) |
| |
|
inlinevirtual |
◆ inputType()
◆ isConnected()
◆ numberedString()
template<class T>
| static std::string FrameLib_Object< T >::numberedString |
( |
const char * |
str, |
|
|
unsigned long |
idx |
|
) |
| |
|
inlinestaticprotected |
◆ objectInfo()
template<class T>
| virtual std::string FrameLib_Object< T >::objectInfo |
( |
bool |
verbose = false | ) |
|
|
inlinevirtual |
◆ outputInfo()
template<class T>
| virtual std::string FrameLib_Object< T >::outputInfo |
( |
unsigned long |
idx, |
|
|
bool |
verbose = false |
|
) |
| |
|
inlinevirtual |
◆ outputType()
◆ parameterInputInfo()
template<class T>
| static std::string FrameLib_Object< T >::parameterInputInfo |
( |
bool |
verbose | ) |
|
|
inlinestaticprotected |
◆ registerStorage()
◆ releaseStorage()
◆ reset()
template<class T>
| virtual void FrameLib_Object< T >::reset |
( |
double |
samplingRate, |
|
|
unsigned long |
maxBlockSize |
|
) |
| |
|
pure virtual |
◆ setFixedInput()
template<class T>
| virtual void FrameLib_Object< T >::setFixedInput |
( |
unsigned long |
idx, |
|
|
double * |
input, |
|
|
unsigned long |
size |
|
) |
| |
|
pure virtual |
◆ setInputAlias()
◆ setIO()
template<class T>
| void FrameLib_Object< T >::setIO |
( |
unsigned long |
nIns, |
|
|
unsigned long |
nOuts, |
|
|
unsigned long |
nAudioChans = 0 |
|
) |
| |
|
inlineprotected |
◆ setOrderingAlias()
◆ setOutputAlias()
◆ supportsOrderingConnections()
The documentation for this class was generated from the following file:
- /Users/alexharker/Documents/Max Externals/FrameLib/FrameLib_Framework/FrameLib_Object.h